package com.easylinkin.linkappapi.airconditioner.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.airconditioner.entity.AirconditionDeviceRecord;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AirconditionDeviceRecordMapper extends BaseMapper<AirconditionDeviceRecord> {
    int batchInsert(@Param("list") List<AirconditionDeviceRecord> list);

    List<AirconditionDeviceRecord> selectAllByAirconditionDeviceIdGropuBy(@Param("list") List<String> list,@Param("airconditionDeviceRecord") AirconditionDeviceRecord airconditionDeviceRecord);

    int updateBatchSelective(@Param("list") List<AirconditionDeviceRecord> list,@Param("tenantId") String tenantId);

    List<AirconditionDeviceRecord> selectAllByAirconditionDeviceIdPage(@Param("page") Page<AirconditionDeviceRecord> page,@Param("airconditionDeviceRecord") AirconditionDeviceRecord airconditionDeviceRecord);
}